package cn.gpnusz.oliverwiki.service;

import cn.gpnusz.oliverwiki.entity.Info;
import cn.gpnusz.oliverwiki.mapper.InfoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author h0ss
 * @description
 * @date 2021/8/24 - 14:24
 */
@Service
public class InfoService {

    @Resource
    private InfoMapper infoMapper;

    public List<Info> getAll() {
        return infoMapper.getAll();
    }
}
